package com.aqumon.www.entity.request.jenkins;

import com.aqumon.www.entity.request.ParamValidate;
import lombok.Data;

/**
 * jenkins 配置删除
 *
 * @author xhf
 * @date 2022/5/15
 */
@Data
public class ConfigDeleteReq implements ParamValidate {

    private Long id;

    @Override
    public void validate() {
        if (id == null || id <= 0) {
            throw new IllegalArgumentException("jenkins id为空");
        }
    }
}
